<!-- Buttons section -->
<ng-if ng-if="enable && extensionPoint === 'general'">

  <a class="item item-icon-left item-icon-right item-text-wrap ink"
    ui-sref="app.view_peer_stats({pubkey: node.pubkey})">
    <i class="icon ion-stats-bars"></i>
    <span translate>GRAPH.PEER.VIEW.BLOCK_COUNT_LABEL</span>
    <span class="badge"
          ng-if="!loading"
          ng-class="{'badge-stable': blockCount > 0, 'badge-assertive': !blockCount}">
      {{!blockCount ? 'GRAPH.PEER.VIEW.NO_BLOCK' : 'GRAPH.PEER.VIEW.BLOCK_COUNT' | translate:{count: blockCount} }}
    </span>
    <ion-spinner class="badge" icon="android" ng-if="loading"></ion-spinner>
    <i class="gray icon ion-ios-arrow-right"></i>
  </a>
</ng-if>

